"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fetchMenu = fetchMenu;
exports.updateMenu = updateMenu;
exports.toggleDishStatus = toggleDishStatus;
exports.createMenu = createMenu;
exports.removeMenu = removeMenu;
const api_1 = require("./api");
function fetchMenu() {
    return (0, api_1.callService)("menuList");
}
function updateMenu(payload) {
    return (0, api_1.callService)("menuUpdate", payload);
}
function toggleDishStatus(menuId, isActive) {
    return (0, api_1.callService)("menuToggle", { menuId, isActive });
}
function createMenu(payload) {
    return (0, api_1.callService)("menuCreate", payload);
}
function removeMenu(menuId) {
    return (0, api_1.callService)("menuRemove", { menuId });
}
